/*==================================================
=                MODAL
==================================================*/

.auth-modal {
    background: rgba(16, 18, 24, .92);
    backdrop-filter: blur(22px);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, .45);
}

.auth-modal .modal-body {
    padding: 40px;
    position: relative;
}

/*==================================================
=                BOTON CERRAR
==================================================*/

.auth-close {
    position: absolute;
    right: 18px;
    top: 18px;
    opacity: .8;
    transition: .25s;
}

.auth-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

/*==================================================
=                LOGO
==================================================*/

.auth-logo {
    text-align: center;
    margin-bottom: 35px;
}

.auth-logo i {
    width: 90px;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    border-radius: 50%;
    background: linear-gradient(135deg, #00b7ff, #0066ff);
    color: white;
    font-size: 2.4rem;
    margin-bottom: 18px;
    box-shadow: 0 0 30px rgba(0, 183, 255, .35);
}

.auth-logo h2 {
    color: white;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-logo p {
    color: #9ea8b8;
    margin: 0;
}

/*==================================================
=                LABELS
==================================================*/

.auth-modal label {
    color: #d8dce5;
    font-weight: 600;
    margin-bottom: 8px;
}

/*==================================================
=                INPUT GROUP
==================================================*/

.auth-modal .input-group {
    overflow: hidden;
    border-radius: 14px;
}

.auth-modal .input-group-text {
    background: #181d25;
    border: 1px solid rgba(255, 255, 255, .06);
    color: #00b7ff;
    min-width: 48px;
    justify-content: center;
}

.auth-modal .form-control {
    background: #181d25;
    border: 1px solid rgba(255, 255, 255, .06);
    color: white;
    height: 52px;
}

.auth-modal .form-control::placeholder {
    color: #70798b;
}

.auth-modal .form-control:focus {
    background: #1d222b;
    border-color: #00b7ff;
    color: white;
    box-shadow: none;
}

/*==================================================
=                BOTON OJO
==================================================*/

#btnMostrarPassword {
    border: 1px solid rgba(255, 255, 255, .06);
    background: #181d25;
    color: #9ca8b8;
    transition: .25s;
}

#btnMostrarPassword:hover {
    color: #00b7ff;
}

/*==================================================
=                OPCIONES
==================================================*/

.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    gap: 15px;
    flex-wrap: wrap;
}

.auth-options label {
    margin: 0;
    font-weight: 500;
}

.auth-options .btn-link {
    color: #00b7ff;
    text-decoration: none;
    font-size: .9rem;
}

.auth-options .btn-link:hover {
    color: white;
}

/*==================================================
=                BOTON LOGIN
==================================================*/

.btn-auth {
    height: 54px;
    border: none;
    border-radius: 14px;
    font-weight: 600;
    background: linear-gradient(135deg, #0095ff, #0066ff);
    color: white;
    transition: .3s;
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 153, 255, .35);
}

/*==================================================
=                DIVISOR
==================================================*/

.auth-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 35px 0 25px;
    color: #7b8798;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, .08);
}

/*==================================================
=                BOTONES SOCIALES
==================================================*/

.social-login {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.btn-social {
    height: 52px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: #1b212b;
    color: white;
    transition: .25s;
    font-weight: 600;
}

.btn-social i {
    margin-right: 10px;
}

.btn-social:hover {
    background: #252d39;
    transform: translateY(-2px);
}

.google:hover {
    border-color: #4285F4;
    box-shadow: 0 0 18px rgba(66, 133, 244, .25);
}

.microsoft:hover {
    border-color: #00A4EF;
    box-shadow: 0 0 18px rgba(0, 164, 239, .25);
}

/*==================================================
=                FOOTER
==================================================*/

.auth-footer {
    margin-top: 28px;
    text-align: center;
}

.auth-footer .btn-link {
    color: #00b7ff;
    text-decoration: none;
    font-weight: 600;
}

.auth-footer .btn-link:hover {
    color: white;
}

/*==================================================
=                PASSWORD
==================================================*/

.password-strength {
    width: 100%;
    height: 7px;
    border-radius: 10px;
    overflow: hidden;
    background: #2a313d;
    margin-bottom: 8px;
}

#passwordBar {
    width: 0%;
    height: 100%;
    transition: .35s;
    border-radius: 10px;
    background: #ff3b3b;
}

#passwordText {
    color: #97a2b2;
}

/*==================================================
=                ALERTA
==================================================*/

#authMensaje {
    border: none;
    border-radius: 14px;
}

/*==================================================
=                BOTON NAVBAR
==================================================*/

.btn-auth-navbar {
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .04);
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 18px;
    transition: .3s;
}

.btn-auth-navbar:hover {
    background: #0095ff;
    border-color: #0095ff;
    box-shadow: 0 0 20px rgba(0, 149, 255, .35);
}

.btn-auth-navbar i {
    font-size: .95rem;
}

/*==================================================
=                RESPONSIVE
==================================================*/

@media(max-width:576px) {

    .auth-modal .modal-body {
        padding: 25px;
    }

    .social-login {
        grid-template-columns: 1fr;
    }

    .auth-options {
        flex-direction: column;
        align-items: flex-start;
    }

}



/*==================================================
=            OVERRIDE DEL MODAL
==================================================*/

#modalAuth .form-control {
    background: #181d25 !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, .06) !important;
}

#modalAuth .form-control:focus {
    background: #1d222b !important;
    border-color: #0095ff !important;
    box-shadow: 0 0 0 .2rem rgba(0, 149, 255, .15) !important;
}

#modalAuth .input-group-text {
    background: #181d25 !important;
    color: #00b7ff !important;
    border: 1px solid rgba(255, 255, 255, .06) !important;
}

#modalAuth .btn-auth {
    background: linear-gradient(135deg, #0095ff, #0066ff) !important;
    color: #fff !important;
    border: none !important;
}

#modalAuth .btn-auth:hover {
    background: linear-gradient(135deg, #19a3ff, #1b75ff) !important;
    box-shadow: 0 0 22px rgba(0, 149, 255, .35) !important;
}

#modalAuth .btn-social {
    background: #1b212b !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, .08) !important;
}

#modalAuth .btn-social:hover {
    background: #252d39 !important;
}

#modalAuth .btn-link {
    color: #00b7ff !important;
}

#modalAuth .btn-link:hover {
    color: #fff !important;
}

#modalAuth .form-check-input:checked {
    background-color: #0095ff !important;
    border-color: #0095ff !important;
}